<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ page contentType="text/html;charset=windows-1252"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces" prefix="af"%>
<%@ taglib uri="http://xmlns.oracle.com/adf/faces/html" prefix="afh"%>
<f:view>
  <afh:html>
    <afh:head title="Intercedentenbeheer">
      <meta http-equiv="Content-Type"
            content="text/html; charset=windows-1252"/>
      <link href="css/jdeveloper.css" rel="stylesheet" media="screen"/>
      <link href="css/menu.css" rel="stylesheet" media="screen"/>
    </afh:head>
    <afh:body>
      <af:panelHeader text="Intercedenten Beheer"/>
      <af:messages/>
      <h:form>
        <af:panelHeader text="Intercedenten"/>
        <af:panelButtonBar>
          <af:inputText value="#{bindings.ZoekIntercedent.inputValue}"
                        label="#{bindings.ZoekIntercedent.label}"
                        required="#{bindings.ZoekIntercedent.mandatory}"
                        columns="#{bindings.ZoekIntercedent.displayWidth}">
            <af:validator binding="#{bindings.ZoekIntercedent.validator}"/>
          </af:inputText>
          <af:commandButton actionListener="#{bindings.ExecuteWithParams.execute}"
                            text="Search"
                            disabled="#{!bindings.ExecuteWithParams.enabled}"/>
        </af:panelButtonBar>
        <af:table value="#{bindings.IntercedentBeheer1.collectionModel}"
                  var="row" rows="#{bindings.IntercedentBeheer1.rangeSize}"
                  first="#{bindings.IntercedentBeheer1.rangeStart}"
                  emptyText="#{bindings.IntercedentBeheer1.viewable ? \'No rows yet.\' : \'Access Denied.\'}"
                  selectionState="#{bindings.IntercedentBeheer1.collectionModel.selectedRow}"
                  selectionListener="#{bindings.IntercedentBeheer1.collectionModel.makeCurrent}">
          <af:column sortProperty="Plaats" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Plaats}">
            <af:outputText value="#{row.Plaats}"/>
          </af:column>
          <af:column sortProperty="Naam" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Naam}">
            <af:outputText value="#{row.Naam}"/>
          </af:column>
          <af:column sortProperty="Adres" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Adres}">
            <af:outputText value="#{row.Adres}"/>
          </af:column>
          <af:column sortProperty="Postcode" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Postcode}">
            <af:outputText value="#{row.Postcode}"/>
          </af:column>
          <af:column sortProperty="Woonplaats" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Woonplaats}">
            <af:outputText value="#{row.Woonplaats}"/>
          </af:column>
          <af:column sortProperty="Telefoon" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Telefoon}">
            <af:outputText value="#{row.Telefoon}"/>
          </af:column>
          <af:column sortProperty="Email" sortable="true"
                     headerText="#{bindings.IntercedentBeheer1.labels.Email}">
            <af:outputText value="#{row.Email}"/>
          </af:column>
          <f:facet name="selection">
            <af:tableSelectOne text="Select and">
              <af:commandButton text="Edit" action="edit"/>
            </af:tableSelectOne>
          </f:facet>
          <f:facet name="actions">
            <h:panelGroup>
              <af:commandButton actionListener="#{bindings.Create.execute}"
                                text="New"
                                disabled="#{!bindings.Create.enabled}"
                                action="new"/>
              <af:commandButton actionListener="#{bindings.Delete.execute}"
                                text="Delete"
                                disabled="#{!bindings.Delete.enabled}"/>
            </h:panelGroup>
          </f:facet>
        </af:table>
        <af:panelButtonBar>
          <af:commandButton actionListener="#{bindings.Commit.execute}"
                            text="Commit"
                            disabled="#{!bindings.Commit.enabled}"/>
          <af:commandButton actionListener="#{bindings.Rollback.execute}"
                            text="Rollback"
                            disabled="#{!bindings.Rollback.enabled}"
                            immediate="true">
            <af:resetActionListener/>
          </af:commandButton>
          <af:commandLink text="Back" action="back"/>
        </af:panelButtonBar>
      </h:form>
    </afh:body>
  </afh:html>
</f:view>